<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <title>Document</title>
  </head>
  <body>
    <div id="demo"></div>
  </body>
  <script type="module">
    import Vue from '../src/index.js'
    const { h, render } = Vue
    const vnode = h(
      'div',
      {
        class: 'red',
        onClick: () => {
          console.log('hello')
        }
      },
      'hello'
    )
    render(vnode, document.querySelector('#demo'))
    console.log(vnode,document.querySelector('#demo'))
  </script>
</html>
